package com.andox.fn.inf.rpc.rest.config;

/**   
 * @ClassName:   MethodConfig   
 * @Description: TODO  
 * @author:      Andox
 * @date:        2019年8月2日 下午1:58:16   
 *     
 */
public class MethodConfig extends AbstractConfig{
	private static final long serialVersionUID = 7117088525127850377L;

	private String name;
	private Boolean exclude;
	private Boolean async;
	private Boolean oneway;
	private Integer timeout;
	/**
	 * @return the exclude
	 */
	public Boolean isExclude() {
		return exclude;
	}
	/**
	 * @param exclude the exclude to set
	 */
	public void setExclude(boolean exclude) {
		this.exclude = exclude;
	}
	/**
	 * @return the async
	 */
	public boolean isAsync() {
		return async;
	}
	/**
	 * @param async the async to set
	 */
	public void setAsync(boolean async) {
		this.async = async;
	}
	/**
	 * @return the oneway
	 */
	public boolean isOneway() {
		return oneway;
	}
	/**
	 * @param oneway the oneway to set
	 */
	public void setOneway(boolean oneway) {
		this.oneway = oneway;
	}
	/**
	 * @return the timeout
	 */
	public int getTimeout() {
		return timeout;
	}
	/**
	 * @param timeout the timeout to set
	 */
	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
}
